html , body {
    height: 100%;
    width: 100%;
}
#app {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.container {
    width: 1000px;
    margin: 0 auto;
}
.container header {
    padding: 20px 20px;
    /* background-color: deepskyblue; */
    color: #000;
}
.container .left {
    float: left;
    height: 700px;
    background-color: yellowgreen;
    width: 800px;
    overflow: hidden;
    /* background-image: url(../img/bg2.jpg); */
    background-size: cover;
}
.container .left .map {
    width: 600px;
    height: 600px;
    margin: 50px auto;
    background-color: #f0f0f0;
}
.container .left .map ul {
    height: 150px;
}
.container .left .map ul li {
    width: 150px;
    height: 150px;
    border: 1px solid pink;
    float: left;
    box-sizing: border-box;
}
.container .left .map ul li.snake {
    background-color: purple;
}
.container .left .map ul li.food {
    background-color: red;
}


.container .right {
    float: right;
    height: 700px;
    /* background-color: #f0f0f0; */
    width: 200px;
}
.container .right .opt {
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
}
.container .right .opt .score {
    color: #f00;
    font-size: 80px;
}
.container .right .opt [class^="btn"] {
    border: 1px solid #fff;
    padding: 6px 15px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}
.btn-play {
    background-color: #249343;
   
}
.btn-pause {
    background-color: #E33D30;
}
.btn-toggle {
    background-color: #666666;
}
.btn-toggle.active {
    background-color: #FCC21D;
}

.form {
    padding: 20px 15px;
}
.form > div {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.form > div label {
    display: inline-block;
    vertical-align: middle;
    width: 100px;
}
.form > div input {
    width: 80px;
    height: 32px;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #000;
}
.form > div .btn-create {
    padding: 8px 25px;
    background-color: #0270FE;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

/* 隐藏音频标签 */
/* .audio_bg , */
.audio {
    width: 0;
    height: 0;
    opacity: 0;
}